/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package GUI;

import javax.swing.*;
import java.awt.*;

/**
 *
 * @author Rui Margarido
 */
public class MenuPrincipal extends JFrame{
    public MenuPrincipal()
    {
        
        setDefaultCloseOperation(EXIT_ON_CLOSE);
    }
    public MenuPrincipal(String nome)
    {

        setDefaultCloseOperation(EXIT_ON_CLOSE);
        this.setTitle(nome);
    }
}
